﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using MapEntities;

namespace MapEntities
{
    [DataContract]
    public class Symbol : LayerItem
    {
        private SymbolItemBehavior behavior = null;

        public SymbolType SymbolTypeName { get; set; }

        public GeoPoint Location { get; set; }

        public virtual SymbolItemBehavior Behaviour
        {
            get
            {
                if (behavior == null)
                    behavior = new SymbolItemBehavior();
                return behavior;
            }

            set
            {
                behavior = value;
            }
        }
    }
}
